package com.ly.user_system.controller;

import com.ly.user_system.dto.BaseSysPermDTO;
import com.ly.user_system.service.BaseSysPermsService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * @author HASEE
 */
@RestController
@RequestMapping("/BaseSysPerm")
public class BaseSysPermissionController  {

    @Resource
    private BaseSysPermsService permsService;


    @GetMapping("/permmenu")
    public BaseSysPermDTO selfDetail() {
        return permsService.listSelfPerm();
    }



}